<?php

class userWu_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    	defined('BASE_URL')	|| define('BASE_URL', Zend_Controller_Front::getInstance()->getBaseUrl());
    }

    public function indexAction()
    {
    	Application_Form_FrmMessage::redirector('/userWu/user-type/index');
	}
	public  function profileAction(){
		$db = new userWu_Model_DbTable_DbUser();
		$user_id = $this->getRequest()->getParam("id");
		$rs=$db->getuserprofile($user_id);
		//print_r($rs);exit();
		$this->view->profile=$rs;
	}		 
    
}

